package com.example.batch;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.scheduling.annotation.EnableScheduling;
import org.springframework.scheduling.annotation.EnableAsync;

@SpringBootApplication
@EnableAsync
@EnableScheduling
@MapperScan("com.example.batch.mapper")
@ComponentScan(basePackages = {"com.example.batch"})
public class BatchAsyncApplication {
    public static void main(String[] args) {
        SpringApplication.run(BatchAsyncApplication.class, args);
    }
}
